@import url("https://fonts.googleapis.com/css?family=Merriweather:400,700|Roboto+Mono");
body {
  background: #52B3D9;
  color: white;
  overflow: hidden;
  font-family: "Roboto Mono", monospace;
}

.dark {
  position: absolute;
  width: 100%;
  top: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 5000;
}

h1 {
  position: relative;
  text-align: center;
  font-family: "Merriweather", serif;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(77, 77, 77, 0.5);
  z-index: 1000;
  margin: 0;
}

p {
  position: relative;
  text-align: center;
  font-family: "Roboto Mono", monospace;
  font-weight: bold;
  text-shadow: 1px 1px 1px rgba(77, 77, 77, 0.5);
  z-index: 1000;
  margin: 0;
}

h1 {
  margin-top: 4.5rem;
  font-size: 8vw;
}

p {
  font-size: 3vw;
}

.sun {
  position: absolute;
  top: 2rem;
  left: 3rem;
  width: 5rem;
  height: 5rem;
  background: #F5AB35;
  border-radius: 100%;
  box-shadow: 0 0 30px #F39C12;
}

.flowers {
  position: absolute;
  width: 100%;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
}

.flower {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flower_head {
  height: 7rem;
  width: 7rem;
  background: #663399;
  border-radius: 100%;
}
.flower_stem {
  width: 0.5rem;
  height: 20rem;
  max-height: 0;
  background: #00B16A;
}
.flower_stem::after {
  content: "";
  margin-left: 0.5rem;
  margin-top: 1rem;
  width: 3em;
  height: 3em;
  display: block;
  background: #1E824C;
  border-radius: 2em 0 2em 0em;
}

.red {
  width: 6rem;
  height: 6rem;
  background: #b21c0e;
}

.yellow {
  width: 7.5rem;
  height: 7.5rem;
  background: #F7CA18;
}

.pink {
  width: 6rem;
  height: 6rem;
  background: #D2527F;
}

.fadeIn {
  opacity: 0;
  animation: fadeIn 1s 2s ease-in forwards;
}

.slideIn {
  transform: translateX(-5rem);
  animation: slideIn 3s ease-out forwards;
}

.fadeOut {
  opacity: 1;
  animation: fadeOut 4s 0.25s ease forwards;
}

.delay-1 {
  animation-delay: 3s;
}

.grow-12 {
  animation: grow-12 2s 0.5s ease-in-out forwards;
}

.grow-15 {
  animation: grow-15 2s 1.5s ease-in-out forwards;
}

.grow-9 {
  animation: grow-9 2s 2.5s ease-in-out forwards;
}

.pulse {
  animation: pulse 1s 0.5s ease-in-out infinite alternate;
}

@keyframes fadeIn {
  100% {
    opacity: 1;
  }
}
@keyframes slideIn {
  100% {
    transform: translateX(0);
  }
}
@keyframes fadeOut {
  100% {
    opacity: 0;
  }
}
@keyframes grow-12 {
  100% {
    max-height: 14rem;
  }
}
@keyframes grow-15 {
  100% {
    max-height: 17rem;
  }
}
@keyframes grow-9 {
  100% {
    max-height: 11rem;
  }
}
/* Portrait */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  @keyframes grow-12 {
    100% {
      max-height: 207rem;
    }
  }
  @keyframes grow-15 {
    100% {
      max-height: 319rem;
    }
  }
  @keyframes grow-9 {
    100% {
      max-height: 243rem;
    }
  }
}
/* Landscape */
@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  @keyframes grow-12 {
    100% {
      max-height: 107rem;
    }
  }
  @keyframes grow-15 {
    100% {
      max-height: 209rem;
    }
  }
  @keyframes grow-9 {
    100% {
      max-height: 203rem;
    }
  }
}
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
@media (max-width: 480px) {
  h1 {
    font-size: 2.777rem;
  }

  h2 {
    font-size: 1.777rem;
  }
}